/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package co.com.poligran.polla.mundialista.ingesoft.bean;



import java.io.Serializable;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

/**
 * Simple navigation bean
 * @author itcuties
 *
 */
@ManagedBean
@SessionScoped
public class NavigationBean implements Serializable {

	private static final long serialVersionUID = 1520318172495977648L;

	/**
	 * Redirect to login page.
	 * @return Login page name.
	 */
	public String redirectToLogin() {
		return "/login.xhtml?faces-redirect=true";
	}
	
	/**
	 * Go to login page.
	 * @return Login page name.
	 */
	public String toLogin() {
		return "/login.xhtml";
	}
	
	/**
	 * Redirect to info page.
	 * @return Info page name.
	 */
	public String redirectToCrearUsuario() {
		return "/crearUsuario.xhtml?faces-redirect=true";
	}
	/**
         * Redirect to mesas de apuestas
	 * @return Info page name.
	 */
	public String redirectToMesasDeApuestas() {
		return "/mesaApuesta.xhtml?faces-redirect=true";
	}
        
        public String redirectToPSE() {
		return "/CompraCredito.xhtml?faces-redirect=true";
	}
	
	
	
	
        
       
	
}
